#ifndef __LINKSTACK_H_
#define __LINKSTACK_H_

#include <stdio.h>
#include "DoubleLinkList.h"

struct LinkStack
{
    DLlist list;
};
typedef struct LinkStack LStack;

void Init(LStack *s);
bool SPush(LStack *s, ElementType element);
//ElementType* SPop(LStack *s, ElementType element);
void SPop(LStack *s);
ElementType* GetTop(LStack *s);
bool IsStackEmpty(LStack *s);

#endif